#ifndef DSP_SAMPLES_H
#define DSP_SAMPLES_H

#define adc_sample_size 1000

typedef unsigned char uint8_t;
typedef unsigned int uint16_t;
typedef unsigned long uint32_t;

extern volatile uint16_t adc_buff[adc_sample_size];
extern volatile uint32_t adc_index;
extern volatile uint8_t adc_simple_done;

void sample_init(uint32_t rate);
void sample_run();
void sample_start();
void sample_once();


#endif //DSP_SAMPLES_H
